<template>
  <el-container class="home-container" style="height: 100%">
    <!-- 侧边栏 -->
    <el-aside width="auto" class="aside">
      <!-- 左侧导航 -->
      <common-aside></common-aside>
    </el-aside>
      
    <el-container>
      <!-- 头部 -->
      <el-header>
        <common-header></common-header>
      </el-header>

      <!-- tag标签 -->
      <common-tag></common-tag>

      <!-- 主体 -->
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>

  </el-container>
</template>

<script>
  import CommonAside from '../components/common-aside/index.vue'
  import CommonHeader from '../components/common-header/index.vue'
  import CommonTag from '../components/common-tag/index.vue'
  export default {
    name: 'Main',
    data(){
      return {}
    },
   /*  props: {
      msg: String
    }, */
    components:{CommonAside,CommonHeader,CommonTag}
  }
</script>

<style lang="less" scoped>
  .el-header{
    background-color: #fff;
  }
  .el-main {
    padding-top: 0;
  }
  /* .el-header{
    background-color: #B3C0D1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .el-breadcrumb-item{
    font-size: 30px;
  }
  .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #333F51;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #F9F9F9;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  } */
</style>
